<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="../css/public.css"/>
    <link rel="stylesheet"
          href="../css/themes/base/jquery.ui.all.css">
    <link rel="stylesheet" href="../js/demos.css">

    <script type="text/javascript"
            src="../js/jquery-1.7.2.js"></script>
    <script type="text/javascript"
            src="../js/jquery.ui.core.js"></script>
    <script type="text/javascript"
            src="../js/jquery.ui.widget.js"></script>
    <script type="text/javascript"
            src="../js/jquery.ui.position.js"></script>
    <script type="text/javascript"
            src="../js/jquery.ui.autocomplete.js"></script>
    <script type="text/javascript"
            src="../js/jquery.ui.datepicker.js"></script>
    <script type="text/javascript"
            src="../js/jquery.ui.datepicker-zh-CN.js"></script>
    <script src="../js/jquery.ui.button.js"></script>
    <link rel="stylesheet" href="../css/icons.css">
    <script src="../js/icons.js"></script>


    <title>Welcome
    </title>
</head>
<body>
<!--头部 start..-->
<div class="header">


    <div class="top">
        <div class="top_left">
            <span class="f1">欢迎您：${user.username}</span>
        </div>
        <div class="top_right">
            <a href="${path}/user/index" class="top_ico0">首页</a>
            <a href="${path}/user/changepassword" class="top_ico1">修改密码</a>
            <a href="${path}/user/information" class="top_ico2">个人信息</a>
            <a href="${path}/user/exit" class="top_ico3">退出</a>
        </div>
    </div>
    <div class="top2">
        <p class="pro_id">客户关系管理系统 v2.0</p>
    </div>
</div>
<!--head end...-->

<!--主体-->
<table class="main" border="0"
       style="width: 100%; background-color: #FFFFFF">
    <tr>
        <td width="140" style="vertical-align: top;">
            <div class="main_left">
                <div class="sidebar">
                    <h2 id="menu1" class="menuTitle">客户管理</h2>

                    <div class="menu_ul_div" id="menu_ul_div_1" style="display:block;height: 170px;">
                        <ul id="menu1_ul" class="menu_ul">
                            <li class="menuItem"><a href="/crm/customer/initConflict.do">客户冲突</a></li>
                            <li class="menuItem"><a href="/crm/customer/initAdd.do">添加客户</a></li>
                            <li class="menuItem"><a href="/crm/customer/initServe.do">服务中签约客户</a></li>
                            <li class="menuItem"><a href="/crm/customer/initNoServe.do">未签约客户</a></li>
                            <li class="menuItem"><a href="/crm/customer/getAllSea.do">公海客户</a></li>
                            <li class="menuItem"><a href="/crm/visitRecord/initSearch.do">拜访查询</a></li>
                        </ul>
                    </div>
                    <h2 id="menu2" class="menuTitle">合同管理</h2>

                    <div class="menu_ul_div" id="menu_ul_div_2" style="display:block;height: 170px;">
                        <ul id="menu2_ul" class="menu_ul">
                            <li class="menuItem"><a id="anchorContractTemplate" href="/crm/contract/template/list.do">合同模板</a>
                            </li>
                            <li class="menuItem"><a href="/crm/contract/initAdd.do">新增合同</a></li>
                            <li class="menuItem"><a href="/crm/contract/initContractValid.do">有效合同查询</a></li>
                            <li class="menuItem"><a href="/crm/contract/initContractInvalid.do">无效合同查询</a></li>
                            <li class="menuItem"><a href="/crm/contract/initPaymentReceivable.do">应收款查询</a></li>
                            <li class="menuItem"><a href="/crm/payment/initPaymentReceived.do">到款查询</a></li>
                        </ul>
                    </div>
                    <h2 id="menu3" class="menuTitle">报表管理</h2>
                    <div class="menu_ul_div" id="menu_ul_div_3" style="display:block;height: 40px;">
                        <ul id="menu3_ul" class="menu_ul">
                            <li class="menuItem"><a href="/crm/record/initReport.do">拜访量报表</a></li>
                        </ul>
                    </div>

                    <h2 id="menu4" class="menuTitle">系统设置</h2>

                    <div class="menu_ul_div" id="menu_ul_div_4" style="display:block;height: 130px;">
                        <ul id="menu4_ul" class="menu_ul">
                            <li class="menuItem"><a href="/crm/system/search.do">员工设置</a></li>
                            <li class="menuItem"><a href="/crm/announcement/search.do">公告管理</a></li>
                            <li class="menuItem"><a href="/crm/system/picture.do">首页图片设置</a></li>
                            <li class="menuItem"><a href="/crm/syslog/searchSyslog.do">系统日志</a></li>
                            <li class="menuItem"><a href="/crm/system/else.do">其他设置</a></li>
                            <li class="menuItem"><a href="/crm/system/tree.do">jstree3-部门树</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </td>
        <td style="vertical-align: top;">
            <div class="main_right">
                <script type="text/javascript" src="/crm/js/basic.js"></script>
                <link rel="stylesheet" href="/crm/css/themes/base/jquery.ui.all.css">
                <script src="/crm/js/jquery-1.7.2.js"></script>
                <script src="/crm/js/jquery.ui.core.js"></script>
                <script src="/crm/js/jquery.ui.widget.js"></script>
                <script src="/crm/js/jquery.ui.button.js"></script>
                <link rel="stylesheet" href="/crm/css/demos.css">

                <link rel="stylesheet" href="/crm/css/icons.css">

                <script src="/crm/js/icons.js"></script>
                <style type="text/css">
                    .mytable {
                        width: 60%;
                    }

                    .mytable td {
                        width: 200px;
                    }
                </style>

                <body>
                <!-- 中部DIV -->
                <div class="content">
                    <div class="pageHead">
                        <table>
                            <tr>
                                <th width="8"><img src="/crm/images/c_l.gif" height="31" width="8"/></th>
                                <th align="left" class="title_area">当前位置：客户管理 &gt; 编辑员工信息</th>
                                <th width="9"><img src="/crm/images/c_r.gif" height="31" width="9"></th>
                            </tr>
                        </table>
                    </div>

                    <div class="pageBody">
                        <form id="updatePersonalInfo" name="updatePersonalInfo"
                              action="${path}/user/index" method="post">
                            <input type="hidden" name="user.id" value="ca9f4a5e-3887-4162-bf83-c5ecc96046a2"
                                   id="updatePersonalInfo_user_id"/>
                            <input type="hidden" name="user.version"
                                   id="updatePersonalInfo_user_version"/>
                            <table class="mytable">
                                <tr>
                                    <th>工号</th>
                                    <td>
                                        ${user.empNo}
                                    </td>
                                </tr>
                                <tr>
                                    <th>姓名</th>
                                    <td>
                                        ${user.realName}
                                    </td>
                                </tr>
                                <tr>
                                    <th>登陆账号</th>
                                    <td>
                                        ${user.username}
                                    </td>
                                </tr>
                                <tr>
                                    <th>所属部门</th>
                                    <td>
                                        ${user.dept.deptName}
                                    </td>
                                </tr>
                                <tr>
                                    <th>客户上限</th>
                                    <td>
                                        ${user.maxCustomer}
                                    </td>
                                </tr>
                                <tr>
                                    <th>性别</th>
                                    <td>
                                        <input type="radio" name="gender" id="updatePersonalInfo_user_genderMALE"
                                               <c:if test="${user.gender == 'MALE'}">checked="checked"</c:if>
                                               disabled="disabled" value="MALE"/><label for="updatePersonalInfo_user_genderMALE">男</label>
                                        <input type="radio" name="gender" id="updatePersonalInfo_user_genderFEMALE"
                                               <c:if test="${user.gender == 'FEMALE' }">checked="checked"</c:if>
                                               disabled="disabled"  value="FEMALE"/><label
                                            for="updatePersonalInfo_user_genderFEMALE">女</label>

                                    </td>
                                </tr>
                                <tr>
                                    <th>生日</th>
                                    <td>
                                        ${user.birthDate}
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        角色
                                    </th>
                                    <td>
                                        <c:forEach var="c" items="${user.roleSet}">
                                            ${c.name}
                                        </c:forEach>
                                    </td>
                                </tr>
                                <tr>
                                    <th>手机</th>
                                    <td>
                                        105512
                                    </td>
                                </tr>
                                <tr>
                                    <th>备注</th>
                                    <td>
                                        ywyypgqorighfawpft
                                    </td>
                                </tr>
                            </table>
                            <div class="buttonBar">
                                <button id="btnSave" type="submit">返回</button>
                            </div>
                        </form>
                    </div>
                </div>
                </body>
            </div>
        </td>
    </tr>
</table>
<!--主体 end-->


<!--尾部-->
<div class="footer">
    <div class="seperator"></div>
    <p>
        <a href="http://www.sztzedu.com">公司主站</a>|
        <a href="#">隐私策略</a>|
        <a href="#">服务条款</a>&nbsp;
        苏州天智教育公司&reg;版权所有 2012-2015
    </p>
</div>
<!--尾部 end..-->

</body>
</html>

